Set this parameter to true, if you want to use the passive FTP transfer, otherwise set it to false.
Example





In This Topic
GdPicture.NET.14 (COM - ActiveX)~GdPicture14_namespace / GdPicture.NET.14 (COM - ActiveX)~GdPicture14.GdViewer / SetFtpPassiveMode Method

SetFtpPassiveMode Method (GdViewer)

In This Topic
Specifies if the FTP transfer mode used by GdViewer.DisplayFromFTP method is Passive or not. The initial value is true.
Syntax
'Declaration
 
Public Sub SetFtpPassiveMode( _
   ByVal PassiveMode As Boolean _
) 
public void SetFtpPassiveMode( 
   bool PassiveMode
)
public procedure SetFtpPassiveMode( 
    PassiveMode: Boolean
); 
public function SetFtpPassiveMode( 
   PassiveMode : boolean
);
public: void SetFtpPassiveMode( 
   bool PassiveMode
) 
public:
void SetFtpPassiveMode( 
   bool PassiveMode
) 

Parameters

PassiveMode
Set this parameter to true, if you want to use the passive FTP transfer, otherwise set it to false.
Example
How to set the transfer mode to Active.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.SetFtpPassiveMode(False)
'Now transfer your data in active mode.
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.SetFtpPassiveMode(false);
//Now transfer your data in active mode.
See Also

Reference

GdPicture.NET.14 (COM - ActiveX)~GdPicture14.GdViewer
GdViewer Members
DisplayFromFTP(String,String,String,String,Int32) Method
SetHttpTransferBufferSize Method
DataReceived Event